package com.dream.ui.foundation.navigation

/**
 * Android port 到官方, skiko 自己实现
 */
import androidx.compose.runtime.Composable

@Composable
actual fun BackHandler(enabled: Boolean, onBack: () -> Unit) = androidx.activity.compose.BackHandler(enabled, onBack)

actual typealias LocalOnBackPressedDispatcherOwner = androidx.activity.compose.LocalOnBackPressedDispatcherOwner

actual typealias OnBackPressedDispatcherOwner = androidx.activity.OnBackPressedDispatcherOwner

actual typealias OnBackPressedDispatcher = androidx.activity.OnBackPressedDispatcher